<?php

interface Application_Model_serviceInf_TaiKhoanServiceInf {

	public function taoTaiKhoan($username, $password, $hoVaTen, $gioiTinh, $cmnd, $diaChi, $soDienThoai,$email,$nhanThongTinQuaEmail);//OK
	
	public function taoTaiKhoanAdmin ( $username, $password, $hoten, $gioitinh, $cmnd, $diachi, $sodienthoai, $email, $checkmail );
	
	public function suathongtinTaiKhoan($arrayinformation);//input :array(),output boolean.//->OK
	
	public function xoaTaiKhoan($id);//input id,output boolean ->OK
	
	public function timkiemTaiKhoan($id);//input id,output TaiKhoan ->OK
	
	public function kichhoaTtaiKhoan($id);//input $id,output boolean;

	public function login($username,$password);//OK

	public function checkQuyen($maquyen);//output boolean//OK

	public function ganQuyen($id,$array);//output boolean
	
	public function LietKeQuyen($id);//input $id //output array quyen

	public function lietketatcaTaikhoan($active);//liet ke ds tai khoan->array taikhoan

	//timkiem
	
	public function timkiemtheousername($username);
	
	public function timkiemtheoten($ten);
	
	public function timkiemnangcao($array);//3 tham so hoten,email,diachi

		
	public function isLogin();

	public function isAdmin();
		
	
}

?>